<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="probiz" tagdir="/WEB-INF/tags/probiz"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<title><fmt:message key="systemVersionList.title" />
</title>
<probiz:showBindErrors bindPath="systemVersion.*" />


<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoSave(this,'systemVersion');" />
</content>

<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span><fmt:message key="systemVersion.formTabTitle"/></span></li>
	</ul>
</div>

<div class="modify">
<form:form cssClass="mainForm" id="systemVersion"  name="systemVersion" method="post" commandName="systemVersion" action="${ctxPath}/systemVersion.html">
    <input type="hidden" name="version" value="${systemVersion.version}" />
    <input type="hidden" name="id" value="${systemVersion.id}" />
    
    <div class="box-content-wrap">
		<div class="box-content">
			<div class="content">
				<table class="com_modi_table" cellSpacing=0 cellPadding=0 width="100%" border=0>
					<tr>
						<th colspan="2" class="title"><h4><fmt:message key="systemVersion.group.basic"/></h4></th>
					</tr>
					<%-- 
						<tr>
							<th class="label_width_1">
								<StoreAdmin:label key="systemVersion.sysVersion" />
							</th>
							<td >
								<spring:bind path="systemVersion.sysVersion">
	                                <span>${status.value}</span>
	                            </spring:bind>
							</td>
						</tr>
					--%>
					<tr>
						<th class="label_width_1">
							<StoreAdmin:label key="systemVersion.productCode" />
						</th>
						<td >
							<spring:bind path="systemVersion.productCode">
                                <span>${status.value}</span>
                            </spring:bind>
						</td>
					</tr>

					<tr>
						<th>
							<StoreAdmin:label key="systemVersion.domainName" />
						</th>
						<td>
							<spring:bind path="systemVersion.domainName">
                                <input name="${status.expression}" type="text" class="inputtxt"
                                    id="${status.expression}" value="${status.value}" size="50" />
                                <span class="fieldError">${status.errorMessage}</span>
                            </spring:bind>
						</td>
						</tr>
						<tr>
						<th>
							<StoreAdmin:label key="systemVersion.licenseKey" />
						</th>
						<td>
							<spring:bind path="systemVersion.licenseKey">
                                <input name="${status.expression}" type="text" class="inputtxt"
                                    id="${status.expression}" value="${status.value}" size="50" />
                                <span class="fieldError">${status.errorMessage}</span>
                            </spring:bind>
						</td>
					</tr>

					<tr>
						<th>
							<StoreAdmin:label key="systemVersion.createTime" />
						</th>
						<td>
							<spring:bind path="systemVersion.createTime">
                                <span>${status.value}</span>
                            </spring:bind>
                            &nbsp;
						</td>
						
					</tr>
					<c:if test="${not empty systemVersion.updateTime}">
						<tr>
							<th>
								<StoreAdmin:label key="systemVersion.updateTime" />
							</th>
							
							<td>
								<spring:bind path="systemVersion.updateTime">
	                                <span>${status.value}</span>
	                            </spring:bind>
	                            &nbsp;
							</td>
						</tr>
					</c:if>
				</table>
			</div>
		</div>
	</div>
    
    
    

    <div class="data">
        <display:table name="${patchHistorys}" cellspacing="0" cellpadding="0" uid="patchHistorys" class="list_table"
            export="false" requestURI="">
            <!--checkall column ycm 2006-04-28 end-->
            <display:column property="fromVersion" sortable="true" headerClass="data-table-title"
                decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="patchHistorys.fromVersion" />
            <display:column property="toVersion" sortable="true" headerClass="data-table-title"
                decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="patchHistorys.toVersion" />
            <display:column property="executeTime" sortable="true" headerClass="data-table-title"
                decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="patchHistorys.executeTime" />
        </display:table>
    </div>
</form:form>
</div>
<v:javascript formName="systemVersion" staticJavascript="false" />

<script type="text/javascript">
$j(document).ready(
			function(){		
				$j("body").addClass('close_left');
			});
</script>